<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script src="sdk/compass-library/js/compass-library.js"></script>
    <script src="sdk/compass-core/js/compass-core.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body, html {
            height: 100%;
            width: 100%;
            overflow: hidden;
            background: black;
        }

        body {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #container {
            background: #FFFFFF;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
<div id="container"></div>
</body>
<script>
    const { ApplicationManager, Readying } = window["compass-core"];
    const { ExampleApplication } = window["example-application"];
    Readying(() => {
        const applicationManager = new ApplicationManager();
        applicationManager.installApplication(new ExampleApplication())
    });
</script>
</html>
